package com.yuejian_06.yuejian_06.activity;

import android.content.Intent;
import android.view.View;
import android.widget.Button;

import com.yuejian_06.yuejian_06.R;

public class UploadSuccessActivity extends BaseActivity {
    Button upload_home,upload_me;

    @Override
    void initViews() {
        setLayout(R.layout.activity_upload_success);
        upload_home=(Button)findViewById(R.id.upload_home);
        upload_me=(Button)findViewById(R.id.upload_me);
    }

    @Override
    void initEvents() {
        upload_me.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {

            }
        });
        upload_home.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
                Intent intent= new Intent(UploadSuccessActivity.this,MainActivity.class);
                startActivity(intent);
            }
        });
    }

    @Override
    void initData() {

    }

}
